usb:g_dnl:f_thor: remove memset before memcpy
authorJeroen Hofstee <[email protected]>
Mon, 9 Jun 2014 13:28:58 +0000 (15:28 +0200)
committerMarek Vasut <[email protected]>
Wed, 25 Jun 2014 20:42:40 +0000 (22:42 +0200)
commit19a2a67fa27ac5bf50808bbded5c19279c7d86e5
tree1e5067d55b8bee7d38e943278fda36bf0281b4ae
parent933611f7bbeb1b29218dca74cf1acfa910006cef
usb:g_dnl:f_thor: remove memset before memcpy

since ALLOC_CACHE_ALIGN_BUFFER defines a pointer and not a
buffer, the memset with sizeof(rqt) likely does something else
then intended. Since there is a memcpy directly after it with
the full size, drop the memset completely.

Cc: Lukasz Majewski <[email protected]>
Cc: Marek Vasut <[email protected]>
Signed-off-by: Jeroen Hofstee <[email protected]>
Acked-by: Lukasz Majewski <[email protected]>
drivers/usb/gadget/f_thor.c